Tutorials

Katherine Ognyanova’s tutorials on network analysis, network visualization, and computational social science in R and Gephi, with code and data.

These are the most recent versions of tutorials I have developed and keep updating. They come from workshops and invited talks I give for students, colleagues, and computationally curious bystanders. You can also find these materials (and other bits and pieces) on my GitHub page.

If you find the materials useful, please cite them in your work. This helps me (and the computational research community) make the case that openly publishing digital materials, data, and code is a meaningful academic contribution.

I design and lead training in network analysis, visualization, and computational methods for universities, companies, and government agencies. To invite me to run a workshop at your institution, email workshop@ognyanova.net.

Network visualizations made with R

Static and dynamic network visualization with R

A comprehensive tutorial on network visualization with R. It covers data input and network formats, parameters and layouts for one-mode and bipartite graphs, interactive and animated visualizations, temporal networks, and networks on geographic maps.

Most recent version: August 2025 (POLNET Conference)

Get it: Web version · Code & data · PDF · GitHub

Translations: French (L. Beauguitte), Russian (qc-enior)

Computational social science diagram

Computational social science R code

R code and materials from my doctoral seminar in computational social science: an introduction to R, survey data, APIs, web scraping, network analysis, data visualization, text analysis, and machine learning.

Most recent version: 2026 (Rutgers University)

Get it: Course page & code · GitHub

Introduction to R for networks workshop

Introduction to R for networks

An introduction to the R language and its use to process and analyze network data, including network formats, reading and cleaning network data, key graph metrics, and the basics of network visualization in R.

Most recent version: April 2018 (Rutgers University)

Get it: Code & data · PDF

Networks drawn with igraph

Network analysis with R and igraph

A basic introduction to R and the igraph package for network analysis and visualization: network generation, data input and processing, and the basics of graph analysis and visualization.

Most recent version: January 2016 (NetSci X Conference)

Get it: Web version · Code & data · PDF

Translation: Japanese (Kiyotaka Nemoto)

Network visualization in Gephi

Network visualization with Gephi

Network visualization with Gephi: formats and input modes for structural and attribute data, visualization parameters and layout algorithms, dynamic visualization for longitudinal data, bipartite and multiplex graphs, and combining networks with geographic data.

Most recent version: June 2016 (Sunbelt Conference)

Get it: Code & data · PDF

Also useful